home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3766 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  874 b 

  1. Path: ns.ftns.no!news
  2. From: kenneth@norconnect.no (Kenneth C. Nilsen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: File sizes
  5. Date: 24 Feb 1996 01:34:35 GMT
  6. Organization: A poorly-installed InterNetNews site
  7. Message-ID: <503.6628T113T115@norconnect.no>
  8. References: <4gd9pu$cpr@mn5.swip.net>
  9. NNTP-Posting-Host: norconnect.no
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12. The 20-Feb-96 21:09:34, Daniel Hallgren wrote in msg n/a : 
  13.  
  14. >What's the best way of finding out the size of a file? Do I have to use 
  15. >Examine() or something? I write in assembler (DevPac 2).
  16.  
  17. If <2.0 you can use a Lock() on the file and then Examine().
  18. In 2.0+ you can Open() the file and then use ExamineFH().
  19.  
  20.  
  21. ---
  22. Worldwide Solutions AS  \        Kenneth C. Nilsen (kenneth@norconnect.no)
  23.     Advisor, developer   \/\/\/\        http://www.norconnect.no/~kenneth/
  24.            coordinator          \
  25.  
  26.